<div data-page="moviesearch" class="page">
    <div class="page-content">
        <div style="padding: 10px">
            <img src="{{static 'img/banner.jpg'}}" alt="" style="display: block;width: 100%;margin-bottom: -0px">

        </div>
        <div class="content-block-title" style="margin-top: 10px">
            热门标签
        </div>
        <div class="swiper-container swiper-init" data-speed="400" data-space-between="40" data-pagination=".swiper-pagination">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <div class="channel-title">
                        <div style="margin-top: 2px" class="bg-white">
                            <div class="row">
                                {{#with data.headertype.rows}}
                                    {{#each this}}
                                        <div class="col-25"><a
                                                href="movielibparam?id={{id}}&pname={{movie_type}}"
                                                class="button channel text-center">{{movie_type}}</a>
                                        </div>
                                    {{/each}}
                                {{/with}}
                            </div>
                        </div>


                    </div>
                </div>
                <div class="swiper-slide">
                    <div style="margin-top: 2px" class="bg-white">
                        <div class="row">
                            {{#with data.headerarea.rows}}
                                {{#each this}}
                                    <div class="col-25"><a
                                            href="movielibparam?id={{id}}&pname={{movie_country}}&open_id={{../../open_id}}"
                                            class="button channel text-center">{{movie_country}}</a>
                                    </div>
                                {{/each}}
                            {{/with}}
                        </div>
                    </div>
                </div>

                <!--<div class="swiper-slide">-->
                    <!--<div style="margin-top: 2px" class="bg-white">-->
                        <!--<div class="row">-->
                            <!--{{#with data.headeryear.rows}}-->
                                <!--{{#each this}}-->
                                    <!--<div class="col-25"><a-->
                                            <!--href="movielibparam?id={{id}}&pname={{movie_year}}&open_id={{../../open_id}}"-->
                                            <!--class="button channel text-center">{{movie_year}}</a>-->
                                    <!--</div>-->
                                <!--{{/each}}-->
                            <!--{{/with}}-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</div>-->
            </div>

        </div>
        <div class="swiper-pagination moviepagination" style="width: 100%;"></div>

        <div class="content-block-title">
            新上榜
            <a href="movielibparam?id=1&pname=新上榜&open_id={{open_id}}" class="link page-home-more">查看更多</a>
        </div>
        <div class="content-block">
            <div class="content-block-inner bg-white">
                <div data-pagination=".swiper-pagination-c3" data-space-between="2" data-slides-per-view="3"
                     class="swiper-container swiper-init ks-carousel-slider">
                    <div class="swiper-wrapper">
                        {{#with data.newfilm.rows}}
                            {{#each this}}
                                <div class="swiper-slide page-home-movie-block">
                                    <a href="moviesearchdetail?mid={{mid}}&open_id={{../../open_id}}" data-ignore-cache="true">
                                        <img src="http://cdn.bestmovie.com.cn/MOVIE/{{mid}}/POSTER/{{mid}}.jpg"
                                             onerror="this.src='http://cdn.bestmovie.com.cn/wechat/img/movieNull.jpg'"
                                             class="page-home-poster">
                                        <div class="row">
                                            <div class="col-70 page-home-movie-title">{{movie_name}}</div>
                                            <div class="col-30 page-home-movie-score">
                                                {{score}}
                                            </div>
                                        </div>
                                    </a>
                                </div>
                            {{/each}}
                        {{/with}}
                    </div>
                </div>
            </div>
        </div>
        <div class="content-block-title">
            好评榜
            <a href="movielibparam?id=2&pname=好评榜&open_id={{open_id}}" class="link page-home-more">查看更多</a>
        </div>
        <div class="content-block">
            <div class="content-block-inner bg-white">
                <div data-pagination=".swiper-pagination-c3" data-space-between="2" data-slides-per-view="3"
                     class="swiper-container swiper-init ks-carousel-slider">
                    <div class="swiper-wrapper">
                        {{#with data.hotfilm.rows}}
                            {{#each this}}
                                <div class="swiper-slide page-home-movie-block">
                                    <a href="moviesearchdetail?mid={{mid}}&open_id={{../../open_id}}" data-ignore-cache="true"
                                       class="item-link">
                                        <img src="http://cdn.bestmovie.com.cn/MOVIE/{{mid}}/POSTER/{{mid}}.jpg"
                                             onerror="this.src='http://cdn.bestmovie.com.cn/wechat/img/movieNull.jpg'"
                                             class="page-home-poster"/>
                                        <div class="row">
                                            <div class="col-70 page-home-movie-title">{{movie_name}}</div>
                                            <div class="col-30 page-home-movie-score">
                                                {{score}}
                                            </div>
                                        </div>
                                    </a>
                                </div>
                            {{/each}}
                        {{/with}}
                    </div>
                </div>
            </div>
        </div>

        <!--<div class="content-block-title">-->
            <!--推荐影院-->
            <!--<a href="cinemalist"-->
               <!--class="link page-home-more">查看更多</a>-->
        <!--</div>-->
        <!--<div class="content-block">-->
            <!--<div class="content-block-inner bg-white">-->
                <!--<div data-pagination=".swiper-pagination-c3" data-space-between="2" data-slides-per-view="3"-->
                     <!--class="swiper-container swiper-init ks-carousel-slider">-->
                    <!--<div class="swiper-wrapper">-->
                        <!--{{#with data.recomcinema.rows}}-->
                            <!--{{#each this}}-->
                                <!--<div class="swiper-slide page-home-movie-block">-->
                                    <!--<a href="cinemadetail?cinema_code={{cinema_code}}&open_id={{../../open_id}}"-->
                                       <!--class="item-link">-->
                                        <!--<img data-src="{{cinema_picture}}"-->
                                             <!--onerror="this.src='http://cdn.bestmovie.com.cn/wechat/img/movieNull.jpg'"-->
                                             <!--class="lazy lazy-fadein page-home-poster-cinema"/>-->
                                        <!--<div class="row">-->
                                            <!--<div class="col-100 page-home-movie-title">{{cinema_name}}</div>-->
                                        <!--</div>-->
                                    <!--</a>-->
                                <!--</div>-->
                            <!--{{/each}}-->
                        <!--{{/with}}-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div>-->
    </div>
</div>


